package org.mii.safeguard_v1.security.service.impl;

import org.mii.safeguard_v1.base.service.EntityManager;
import org.mii.safeguard_v1.security.dao.TokenDao;
import org.mii.safeguard_v1.security.entity.Token;
import org.mii.safeguard_v1.security.service.ITokenManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springside.modules.orm.hibernate.HibernateDao;
@Service(value="tokenManager")
@Transactional
public class TokenManager extends EntityManager<Token, Integer> implements ITokenManager{
	@Autowired
	private TokenDao tokenDao;

	@Override
	protected HibernateDao<Token, Integer> getEntityDao() {
		return tokenDao;
	}

}
